fa619dd43ebc44753283a94a573acfa32e4969ad,src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java,MapPaintAction,MapPaintAction,#StyleSource#,25
Before Change
private JCheckBoxMenuItem button;
public MapPaintAction(StyleSource style) {
super(style.getDisplayString(), ImageProvider.getIfAvailable(style.icon),
tr("Select the map painting styles"), null, true, "mappaint/" + style.getDisplayString(), true);
this.button = new StayOpenCheckBoxMenuItem(this);
this.style = style;
After Change
private JCheckBoxMenuItem button;
public MapPaintAction(StyleSource style) {
super(style.getDisplayString(), style.icon == null ? null : ImageProvider.getIfAvailable(style.icon),
tr("Select the map painting styles"), null, true, "mappaint/" + style.getDisplayString(), true);
this.button = new StayOpenCheckBoxMenuItem(this);
this.style = style;